import 'package:kkhousekeep/generated/json/base/json_field.dart';
import 'package:kkhousekeep/generated/json/home_bill_years_entity.g.dart';
import 'dart:convert';

@JsonSerializable()
class HomeBillYearsEntity {
	late int code;
	late List<int> obj;
	late String msg;

	HomeBillYearsEntity();

	factory HomeBillYearsEntity.fromJson(Map<String, dynamic> json) => $HomeBillYearsEntityFromJson(json);

	Map<String, dynamic> toJson() => $HomeBillYearsEntityToJson(this);

	HomeBillYearsEntity copyWith({int? code, List<int>? obj, String? msg}) {
		return HomeBillYearsEntity()
			..code= code ?? this.code
			..obj= obj ?? this.obj
			..msg= msg ?? this.msg;
	}

	@override
	String toString() {
		return jsonEncode(this);
	}
}